package com.wzy.springresponsible.handle;

/**
 * @Author: wzy
 * @Date: 2022/01/22/15:59
 * @Description:
 */

import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import com.wzy.springresponsible.AbstractHandler;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 参数校验对象
 **/
@Component
@Order(1) //顺序排第1，最先校验
public class CheckParamFilterObject extends AbstractHandler {

    @Override
    public void doFilter(HttpRequest request, HttpResponse response) {
        System.out.println("非空参数检查");
    }
}